IF EXISTS ( SELECT 'X' FROM sys.triggers WHERE name = 'trUpdEventLog' )
BEGIN
     DROP TRIGGER [dbo].[trUpdEventLog]
END
GO

CREATE TRIGGER [dbo].[trUpdEventLog] ON [dbo].[EventLog] 
     FOR UPDATE
AS
/*
 *
 * trUpdEventLog
 *
 * Purpose:      
 *
 * Inputs:       
 *
 * Assumes:      
 *
 * Effects:      
 *
 * Returns:      
 *
 * Note(s):      
 *
 * Author(s):    NOVA Concepts Ltd.
 *
 * Change Log:   Initial Release, 05/10/2009, 1.00.0000
 *
 */
BEGIN
     RAISERROR( 'Updates are not allowed to the dbo.EventLog table.', 16, 1 )
     
     ROLLBACK TRANSACTION
END
GO
